package com.chlp.core.framework.controller;

import com.chlp.core.framework.entity.Student;
import com.chlp.core.framework.service.CommonCurdService;
import io.swagger.annotations.Api;
import org.apache.logging.log4j.LogManager;
import org.apache.logging.log4j.Logger;
import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.web.bind.annotation.RequestMapping;
import org.springframework.web.bind.annotation.RestController;

/**
 * filename:StudentController 2020年08月13日
 * project NIO_CQA  V1.0
 * Copyright(c) 2019 LiPeng.Chen Co. Ltd.
 *
 * <p>说明：  API接口层</P>
 * version: V1.0
 *
 * @author : LiPeng.Chen
 * <p>
 * Modification History:
 * Date         	Author          Version          Description
 * ---------------------------------------------------------------*
 * 2020年08月13日     LiPeng.Chen    	V1.0        initialize
 */
@Api(tags = " StudentController(示例)", value = "Student实体类接口")
@RestController
@RequestMapping("/student")
public class StudentController extends CommonCurdController<Student> {

    private Logger logger = LogManager.getLogger(this.getClass());

    private final CommonCurdService commonCurdService;

    @Autowired
    public StudentController(CommonCurdService commonCurdService) {
        super(commonCurdService);
        this.commonCurdService = commonCurdService;
    }


}